package com.example.oj.mapper;

import com.example.oj.entity.SysOption;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author mingjianyun
* @description 针对表【sys_option】的数据库操作Mapper
* @createDate 2024-03-11 20:38:57
* @Entity com.example.oj.entity.SysOption
*/
@Mapper
public interface SysOptionMapper extends BaseMapper<SysOption> {

  @MapKey("id")
  List<Map<String, Object>> getOptionsList(@Param("type") String type);

}




